package com.oracle.service.imp;

import com.oracle.mapper.GRegisterMapper;
import com.oracle.service.GregisterService;
import com.oracle.vo.Girl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: CampusMatching
 * @description:
 * @author: zhaolei
 * @create: 2020-07-31 20:24
 **/
@Service
public class GregisterServiceImp implements GregisterService {

    @Autowired
    GRegisterMapper gRegisterMapper;


    @Override
    public void insertgirl(Girl girl) {
        gRegisterMapper.insertgirl(girl);
    }

    @Override
    public List<Girl> select(Girl girl) {
        return gRegisterMapper.selectgirl(girl);
    }
}
